﻿using AutoMapper;
using SqlsugarDemo.Entities;
using SqlsugarDemo.ViewModels;

namespace SqlSugarDemo.Model;

/// <summary>
///     自动映射
/// </summary>
public class _MapConfig : Profile
{
    public _MapConfig()
    {
        CreateMap<AddressDto, Address>();
        CreateMap<Address, AddressView>();
    }
}